<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2016-11-21
 * Time: 14:32
 */

namespace app\src\alipay\action;


use app\src\base\action\BaseAction;
use app\src\order\enum\PayType;
use app\src\order\logic\OrdersPaycodeLogic;

class AlipayPayingAction extends BaseAction
{
    public function paying($uid,$trade_no,$pay_code,$total,$currency){
        return (new OrdersPaycodeLogic())->paying($uid,$trade_no,$pay_code,$total,$currency,PayType::ALIPAY);
    }
}